<script>
	import {
		useStore
	} from 'vuex';

	export default {
		setup() {
			const store = useStore();
			// 初始化用户登录信息
			store.dispatch('initUser');
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import '@/common/free.css';
</style>
